package com.sc.nft.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商城抽奖记录
 */
@Data
@TableName("sc_mall_draw_activity_record")
@ApiModel(value = "sc_mall_draw_activity_record 对象", description = "商城抽奖记录")
public class MallDrawRecord extends SuperEntity implements Serializable {

    private static final long serialVersionUID = -7970813461935576922L;

    @ApiModelProperty(value = "父记录id")
    private Long parentId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "活动id")
    private Long activityId;

    @ApiModelProperty(value = "奖池id")
    private Long prizePoolId;
    
    @ApiModelProperty(value = "奖品id")
    private Long prizeId;

    @ApiModelProperty(value = "抽奖状态， 0-已失效 1-参与中 2-已领取 3-未中奖")
    private Integer drawStatus;

    @ApiModelProperty(value = "奖品信息")
    private String prizeInfo;

    @ApiModelProperty(value = "奖池序列号")
    private Integer poolIndex;
}
